﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Wrox.ProCSharp.Generics
{
    public interface IDocument
    {
        string bookID { get; }
        string bookName { get; }

    }

    public class Book : IDocument
    {
        public string bookID { get; }
        public string bookName { get; }
        public Book(string bookname, string bookid)
        {
            bookID = bookid;
            bookName = bookname;
        }
    }
   
}
